Integrand size = 27, antiderivative size = 156 \[ \int \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))^3 \, dx=-\frac {12 (c+d) \left (15 c^2+10 c d+7 d^2\right ) \cos (e+f x)}{35 f \sqrt {3+3 \sin (e+f x)}}-\frac {8 (5 c-d) d (c+d) \cos (e+f x) \sqrt {3+3 \sin (e+f x)}}{35 f}-\frac {4 d^2 (c+d) \cos (e+f x) (3+3 \sin (e+f x))^{3/2}}{35 f}-\frac {6 \cos (e+f x) (c+d \sin (e+f x))^3}{7 f \sqrt {3+3 \sin (e+f x)}} \]
[Out]
Time = 0.19 (sec) , antiderivative size = 161, normalized size of antiderivative = 1.03, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {2849, 2840, 2830, 2725} \[ \int \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))^3 \, dx=-\frac {4 a (c+d) \left (15 c^2+10 c d+7 d^2\right ) \cos (e+f x)}{35 f \sqrt {a \sin (e+f x)+a}}-\frac {12 d^2 (c+d) \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{35 a f}-\frac {2 a \cos (e+f x) (c+d \sin (e+f x))^3}{7 f \sqrt {a \sin (e+f x)+a}}-\frac {8 d (5 c-d) (c+d) \cos (e+f x) \sqrt {a \sin (e+f x)+a}}{35 f} \]
[In]
[Out]
Rule 2725
Rule 2830
Rule 2840
Rule 2849
Rubi steps \begin{align*} \text {integral}& = -\frac {2 a \cos (e+f x) (c+d \sin (e+f x))^3}{7 f \sqrt {a+a \sin (e+f x)}}+\frac {1}{7} (6 (c+d)) \int \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^2 \, dx \\ & = -\frac {12 d^2 (c+d) \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{35 a f}-\frac {2 a \cos (e+f x) (c+d \sin (e+f x))^3}{7 f \sqrt {a+a \sin (e+f x)}}+\frac {(12 (c+d)) \int \sqrt {a+a \sin (e+f x)} \left (\frac {1}{2} a \left (5 c^2+3 d^2\right )+a (5 c-d) d \sin (e+f x)\right ) \, dx}{35 a} \\ & = -\frac {8 (5 c-d) d (c+d) \cos (e+f x) \sqrt {a+a \sin (e+f x)}}{35 f}-\frac {12 d^2 (c+d) \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{35 a f}-\frac {2 a \cos (e+f x) (c+d \sin (e+f x))^3}{7 f \sqrt {a+a \sin (e+f x)}}+\frac {1}{35} \left (2 (c+d) \left (15 c^2+10 c d+7 d^2\right )\right ) \int \sqrt {a+a \sin (e+f x)} \, dx \\ & = -\frac {4 a (c+d) \left (15 c^2+10 c d+7 d^2\right ) \cos (e+f x)}{35 f \sqrt {a+a \sin (e+f x)}}-\frac {8 (5 c-d) d (c+d) \cos (e+f x) \sqrt {a+a \sin (e+f x)}}{35 f}-\frac {12 d^2 (c+d) \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{35 a f}-\frac {2 a \cos (e+f x) (c+d \sin (e+f x))^3}{7 f \sqrt {a+a \sin (e+f x)}} \\ \end{align*}
Time = 0.66 (sec) , antiderivative size = 149, normalized size of antiderivative = 0.96 \[ \int \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))^3 \, dx=-\frac {\sqrt {3} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {1+\sin (e+f x)} \left (140 c^3+280 c^2 d+266 c d^2+76 d^3-6 d^2 (7 c+2 d) \cos (2 (e+f x))+d \left (140 c^2+112 c d+47 d^2\right ) \sin (e+f x)-5 d^3 \sin (3 (e+f x))\right )}{70 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )} \]
[In]
[Out]
Time = 2.49 (sec) , antiderivative size = 141, normalized size of antiderivative = 0.90
method | result | size |
default | \(\frac {2 \left (\sin \left (f x +e \right )+1\right ) a \left (\sin \left (f x +e \right )-1\right ) \left (5 \left (\sin ^{3}\left (f x +e \right )\right ) d^{3}+21 \left (\sin ^{2}\left (f x +e \right )\right ) c \,d^{2}+6 d^{3} \left (\sin ^{2}\left (f x +e \right )\right )+35 c^{2} d \sin \left (f x +e \right )+28 \sin \left (f x +e \right ) c \,d^{2}+8 d^{3} \sin \left (f x +e \right )+35 c^{3}+70 c^{2} d +56 c \,d^{2}+16 d^{3}\right )}{35 \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}\) | \(141\) |
parts | \(\frac {2 c^{3} \left (\sin \left (f x +e \right )+1\right ) \left (\sin \left (f x +e \right )-1\right ) a}{\cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}+\frac {2 d^{3} \left (\sin \left (f x +e \right )+1\right ) a \left (\sin \left (f x +e \right )-1\right ) \left (5 \left (\sin ^{3}\left (f x +e \right )\right )+6 \left (\sin ^{2}\left (f x +e \right )\right )+8 \sin \left (f x +e \right )+16\right )}{35 \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}+\frac {2 c \,d^{2} \left (\sin \left (f x +e \right )+1\right ) a \left (\sin \left (f x +e \right )-1\right ) \left (3 \left (\sin ^{2}\left (f x +e \right )\right )+4 \sin \left (f x +e \right )+8\right )}{5 \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}+\frac {2 c^{2} d \left (\sin \left (f x +e \right )+1\right ) a \left (\sin \left (f x +e \right )-1\right ) \left (\sin \left (f x +e \right )+2\right )}{\cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}\) | \(242\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 240, normalized size of antiderivative = 1.54 \[ \int \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))^3 \, dx=\frac {2 \, {\left (5 \, d^{3} \cos \left (f x + e\right )^{4} + 3 \, {\left (7 \, c d^{2} + 2 \, d^{3}\right )} \cos \left (f x + e\right )^{3} - 35 \, c^{3} - 35 \, c^{2} d - 49 \, c d^{2} - 9 \, d^{3} - {\left (35 \, c^{2} d + 7 \, c d^{2} + 12 \, d^{3}\right )} \cos \left (f x + e\right )^{2} - {\left (35 \, c^{3} + 70 \, c^{2} d + 77 \, c d^{2} + 22 \, d^{3}\right )} \cos \left (f x + e\right ) + {\left (5 \, d^{3} \cos \left (f x + e\right )^{3} + 35 \, c^{3} + 35 \, c^{2} d + 49 \, c d^{2} + 9 \, d^{3} - {\left (21 \, c d^{2} + d^{3}\right )} \cos \left (f x + e\right )^{2} - {\left (35 \, c^{2} d + 28 \, c d^{2} + 13 \, d^{3}\right )} \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a}}{35 \, {\left (f \cos \left (f x + e\right ) + f \sin \left (f x + e\right ) + f\right )}} \]
[In]
[Out]
\[ \int \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))^3 \, dx=\int \sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )} \left (c + d \sin {\left (e + f x \right )}\right )^{3}\, dx \]
[In]
[Out]
\[ \int \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))^3 \, dx=\int { \sqrt {a \sin \left (f x + e\right ) + a} {\left (d \sin \left (f x + e\right ) + c\right )}^{3} \,d x } \]
[In]
[Out]
none
Time = 0.41 (sec) , antiderivative size = 252, normalized size of antiderivative = 1.62 \[ \int \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))^3 \, dx=\frac {\sqrt {2} {\left (5 \, d^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {7}{4} \, \pi + \frac {7}{2} \, f x + \frac {7}{2} \, e\right ) + 35 \, {\left (8 \, c^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 12 \, c^{2} d \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 12 \, c d^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 3 \, d^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 35 \, {\left (4 \, c^{2} d \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 2 \, c d^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + d^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sin \left (-\frac {3}{4} \, \pi + \frac {3}{2} \, f x + \frac {3}{2} \, e\right ) + 7 \, {\left (6 \, c d^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + d^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sin \left (-\frac {5}{4} \, \pi + \frac {5}{2} \, f x + \frac {5}{2} \, e\right )\right )} \sqrt {a}}{140 \, f} \]
[In]
[Out]
Timed out. \[ \int \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))^3 \, dx=\int \sqrt {a+a\,\sin \left (e+f\,x\right )}\,{\left (c+d\,\sin \left (e+f\,x\right )\right )}^3 \,d x \]
[In]
[Out]